class HeapOnly
{
 public:
 void DestroyMe() //This function will call destructor
 {
   delete this;   // Current object will be deleted means destructor
 } 
 private:
 ~HeapOnly();	 // destructor only can be call by member function
};




